import request from '@/utils/request'

// 查询投票决详情列表
export function listOaMtVoteDetail(query) {
  return request({
    url: '/detail/oaMtVoteDetail/list',
    method: 'get',
    params: query
  })
}

// 查询投票决详情详细
export function getOaMtVoteDetail(id) {
  return request({
    url: '/detail/oaMtVoteDetail/' + id,
    method: 'get'
  })
}

// 保存投票决详情
export function saveOaMtVoteDetail(data) {
  return request({
    url: '/detail/oaMtVoteDetail/save',
    method: 'post',
    data: data
  })
}

// 删除投票决详情
export function delOaMtVoteDetail(id) {
  return request({
    url: '/detail/oaMtVoteDetail/' + id,
    method: 'delete'
  })
}

// 导出投票决详情
export function exportOaMtVoteDetail(query) {
  return request({
    url: '/detail/oaMtVoteDetail/export',
    method: 'get',
    params: query
  })
}
